Namespace HBBSoft.Pivot
    <System.Serializable()> Public NotInheritable Class CellSetCollection
        Inherits System.Collections.CollectionBase

        Default Public Property Item(ByVal Index As Integer) As CellSet
            Get
                Return CType(List.Item(Index), CellSet)
            End Get
            Set(ByVal value As CellSet)
                List.Item(Index) = value
            End Set
        End Property

        Public Sub Add(ByRef value As CellSet)
            List.Add(value)
        End Sub

        Public Sub Insert(ByVal Index As Integer, ByRef value As CellSet)
            List.Insert(Index, value)
        End Sub

        Public Sub Remove(ByRef value As CellSet)
            List.Remove(value)
        End Sub

        Public Function Contains(ByRef value As CellSet) As Boolean
            Return List.Contains(value)
        End Function

        Public Function IndexOf(ByRef value As CellSet) As Integer
            Return List.IndexOf(value)
        End Function


    End Class

End Namespace
